package com.example.wx.dailyreport.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wx.dailyreport.pojo.Authority;

import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hulinbo
 * @since 2020-07-30
 */
public interface AuthorityService extends IService<Authority> {

    Set<String> selectAuthorityByRoleIds(int[] ids);

    IPage<Authority> selectAuthorityInPage(Authority authority, int page, int limit);

    boolean insertAuthority(Authority authority);

    boolean deleteAuthorityById(Integer id);
}
